﻿@{
    ViewBag.Title = "RespTextImg";
    Layout = "~/Views/Shared/_RespPage.cshtml";
}

<style type="text/css">
	p.text {
	    float:left;
	    width:60%;
    }
    div.img-wrap{
	    float:right;
	    width:40%;
    }
    img.responsive {
	    max-width: 100%;
	    height: auto;
    }
</style>

<h2>Responsive Text & Image</h2>

<p class="text">Loremipsum dolor sit amet, consecteturadipiscingelit. Aeneanneceros magna, non fringilla lacus. Uthendrerit, 
    nisl id sagittislaoreet, turpisarcuposuereipsum, non dictumtortor nisi sedlorem.</p>

<div class="img-wrap" >
<img class="responsive" src="/Images/robot.png" >
<p>My Rebot</p>
</div> 